<?php
 session_start();
 require $_SERVER['DOCUMENT_ROOT'] . '/accHestia/src/svr/com/acc_conn.php';
 
 if (!isset($_SESSION["acc_logined"]) || "no" == $_SESSION["acc_logined"]) {
	$pdb = new acc_DB();
	$is_init_done = $pdb->qw("select c.value from acc_confs as c where item='is_intial_done'", "value");
    if($is_init_done) {
        header("location:src/view/feature/login");
    } else {
        header("location:src/view/feature/init");
    }
 } else if ("yes" == $_SESSION["acc_logined"]) {
    header ("location:src/view/feature/vochManage");
 }
 ?>

 


